package com.fenghuajueli.lib_data.entity.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * ===========================================================
 * author：songpeng on 12/15/20 18:31
 * email：fenghuajueli@gmail.com
 * ===========================================================
 * 收藏的数据类型
 */
@Entity(nameInDb = "collection_kadian_tab")
public class CollectionDbEntity {


    @Id(autoincrement = false)
    private Long id;

    /**
     * 卡点名称
     */
    private String name;

    private String coverPath;

    /**
     * 卡点视频的tag
     */
    private String tag;

    /**
     * 修改时间
     */
    private long modifyTime = 0;

    /**
     * 卡点模板数据的
     */
    private String jsonData = "";

    @Generated(hash = 1520953316)
    public CollectionDbEntity(Long id, String name, String coverPath, String tag,
            long modifyTime, String jsonData) {
        this.id = id;
        this.name = name;
        this.coverPath = coverPath;
        this.tag = tag;
        this.modifyTime = modifyTime;
        this.jsonData = jsonData;
    }

    @Generated(hash = 531915192)
    public CollectionDbEntity() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCoverPath() {
        return this.coverPath;
    }

    public void setCoverPath(String coverPath) {
        this.coverPath = coverPath;
    }

    public String getTag() {
        return this.tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getJsonData() {
        return this.jsonData;
    }

    public void setJsonData(String jsonData) {
        this.jsonData = jsonData;
    }

    public long getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(long modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }





}
